#pragma once
#include "DXAMLCommon.h"


//struct ITextSelectionVtbl
//{
//	void *(__thiscall *__vecDelDtor)(ITextSelection *this, unsigned int);
//	int (__thiscall *GetMovingTextPosition)(ITextSelection *this, CTextPosition *);
//	int (__thiscall *GetAnchorTextPosition)(ITextSelection *this, CTextPosition *);
//	int (__thiscall *GetStartTextPosition)(ITextSelection *this, CTextPosition *);
//	int (__thiscall *GetEndTextPosition)(ITextSelection *this, CTextPosition *);
//	TextGravity (__thiscall *GetMovingGravity)(ITextSelection *this);
//	TextGravity (__thiscall *GetCursorGravity)(ITextSelection *this);
//	TextGravity (__thiscall *GetStartGravity)(ITextSelection *this);
//	TextGravity (__thiscall *GetEndGravity)(ITextSelection *this);
//	int (__thiscall *GetText)(ITextSelection *this, CXString **);
//	int (__thiscall *GetXaml)(ITextSelection *this, CXString **);
//	unsigned int (__thiscall *IsEmpty)(ITextSelection *this);
//	int (__thiscall *GetLength)(ITextSelection *this, unsigned int *);
//	int (__thiscall *SetCaretPositionFromPoint)(ITextSelection *this, XPOINTF);
//	int (__thiscall *ExtendSelectionByMouse)(ITextSelection *this, CTextPosition *);
//	int (__thiscall *ExtendSelectionByMouse)(ITextSelection *this, XPOINTF);
//	int (__thiscall *SelectWord)(ITextSelection *this, CTextPosition *);
//	int (__thiscall *SelectWord)(ITextSelection *this, XPOINTF);
//	int (__thiscall *Select)(ITextSelection *this, CTextPosition *, CTextPosition *, TextGravity);
//	int (__thiscall *Select)(ITextSelection *this, unsigned int, unsigned int, TextGravity);
//	int (__thiscall *SetCaretPositionFromTextPosition)(ITextSelection *this, CTextPosition *);
//};





class ITextSelection
{

};